package com.sugar.ssm.service;

import com.sugar.ssm.bean.DepartmentExample;
import com.sugar.ssm.dao.DepartmentMapper;
import com.sugar.ssm.dto.Msg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tangyx
 * @date 2022/4/18 23:30
 * +
 */
@Service
public class DepartmentService {

    @Autowired
    DepartmentMapper departmentMapper;

    public List getList() {

        return departmentMapper.selectByExample(null);

    }
}
